const user: any = {
	state: {
    token:window.localStorage.getItem("token")
	},

	mutations: {

    SET_TOKEN: (state: any, token: string) => {
			window.localStorage.setItem("token",token)
			state.token = token;
		},
	},

	actions: {
		// 获取折线图数据
		getComplexData({ commit }: any) {
			return new Promise((resolve, reject) => {
		
			});
		},
		changeCount({ commit }: any, count: number) {
			return new Promise((resolve, reject) => {
	
			});
		},
	},
};

export default user;
